$(function () {
    showPages(options);
});
//排序
function setOrderBy(value) {
    orderBy = value;
    jumpList();
}
//推荐
function setIsElite() {
    if (isElite === 1) {
        isElite = 0;
    } else {
        isElite = 1;
    }
    jumpList();
}
//热门
function setIsHot() {
    if (isHot === 1) {
        isHot = 0;
    } else {
        isHot = 1;
    }
    jumpList();
}
function jumpList() {
    var url = "list.html?subjectId=" + subjectId;
    if (starId > 0) {
        url += "&starId=" + starId;
    }
    if (orderBy > 0) {
        url += "&orderBy=" + orderBy;
    }
    if (isElite === 1) {
        url += "&isElite=1";
    }
    if (isHot === 1) {
        url += "&isHot=1";
    }
    location.href = url;
}